module.exports = {
  publicPath: './',
  pluginOptions: {
    electronBuilder: {
      nodeIntegration: true,
      builderOptions: {
        productName: '陕西中科非开挖钻机监测系统',
        appId: 'com.id.caiji',
        win: {
          icon: '/public/icon/favicon.ico'
        }
      }
    }
  },
  chainWebpack: config => {
    config
      .plugin('html')
      .tap(args => {
        args[0].title = '陕西中科非开挖钻机监测系统'
        return args
      })
  }
}
